import axios from '@/api/fetch';
//import * as types from './types';
import SERVER from '@/api/server';
//主页面查询
export const getListByPage = params => axios.post(`${SERVER.CLAIMFAC}/dealerClaim/getListByPage`, params);

//导出
export const getListForExport = (params) => axios.post(`${SERVER.CLAIMFAC}/dealerClaim/getQueryListForExport`, params, {
    responseType: 'blob'
  });
//下载中心导出
export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);


